import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import mydialog from '@/components/page-dialog';
import Loading from '@/components/Loading'
import demo from '@/components/func'

import vueMiniPlayer from 'vue-mini-player'
import 'vue-mini-player/lib/vue-mini-player.css'
Vue.use(vueMiniPlayer)

let say = ()=>{
  console.log('hello')
}
Vue.use(demo)
Vue.use(Loading)
Vue.prototype.$say = say
Vue.prototype.$name = 'fjy'
Vue.use(mydialog);
Vue.use(ElementUI);

Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

